{include "header.tpl"}
<form rel="ajax" method="post" action="/admin/Channel/modify" class="form-horizontal" role="form">
    <div class="form-group form-group-sm">
        <label class="col-sm-3 control-label p-r-n">渠道名：</label>
        <div class="col-sm-5 p-l-n">
            <input name="channel_name" value="{$data.channel_name}" class="form-control" autocomplete="off" placeholder="渠道名"/>
        </div>
    </div>
    <div class="form-group form-group-sm">
        <label class="col-sm-3 control-label p-r-n">域名：</label>
        <div class="col-sm-5 p-l-n">
            <input style="width: 70%" name="domain" value="{$data.domain}" type="text" autocomplete="off" class="form-control" placeholder="域名"/>
            <div><span style="color: red;">备注：请填写完整域名，示例(www.yfb.com)</span></div>
        </div>

    </div>

    <div class="form-group form-group-sm">
        <label class="col-sm-3 control-label p-r-n">状态：</label>
        <div class="col-sm-5 p-t-6 p-l-n">
            {foreach from=$channel_status key=key item=item}
                <label><input type="radio" name="status" value="{$key}"{if $key eq $data.status} checked="checked"{/if}/> {$item}</label>
            {/foreach}
        </div>
    </div>
    <div class="form-group form-group-sm">
        <label for="" class="col-sm-3 control-label">&nbsp;</label>
        <div class="col-sm-3">
            <input type="hidden" name="id" value="{$data.id}"/>
            <button type="submit" class="btn btn-primary">提交</button>
        </div>
    </div>
</form>
{include "footer.tpl"}